
<?php

@session_start();

require(dirname(__FILE__) . "/./lib/common.inc");

if (!isset($_GET['id'])) {
	header("Location:./index.php");
	exit();
}
$s_aid = $_GET['id'];
if (trim($s_aid) == '') {
	header("Location:./index.php");
	exit();
}

if(!isset($_SESSION['username'])){
	$username = '';
} else {
	$username = $_SESSION['username'];
}

$cur_theme = get_cur_theme();

$userip = get_client_ip();

$comments = get_comments_art($s_aid);

require(dirname(__FILE__) . "/./themes/" . $cur_theme . "/comments.theme.php");

?>
